package Lab02.test10;

public class BeiJingPeople extends People {
    //重写public void speakHello()方法
    public void speakHello() {
        System.out.println("您好，吃饭了吗？");
    }

    //重写public void averageHeight() 方法
    public void averageHeight() {
        height = 164.58;
        System.out.println("中国人平均身高:" + height + "厘米");
    }
    //重写public void averageWeight()方法
    public void averageWeight()
    {
        weight=63;
        System.out.println("中国人平均体重:"+weight+"公斤");
    }
}